<!DOCTYPE html>  
<html lang="en">  
<head>  
    <meta charset="UTF-8">  
    <meta name="viewport" content="width=device-width, initial-scale=1.0">  
    <title>登录与注册导航</title>  
    <style>  
        body {  
            font-family: Arial, sans-serif;  
            display: flex;  
            flex-direction: column;  
            align-items: center;  
            justify-content: center;  
            height: 100vh;  
            margin: 0;  
            background-color: #f4f4f4;  
        }  
  
        h2 {  
            color: #333;  
            margin-bottom: 20px;  
        }  
  
        button {  
        	margin: 10px 0;
            padding: 10px 20px;  
            font-size: 16px;  
            color: white;  
            background-color: #007BFF; 
            border: none;  
            border-radius: 5px;  
            cursor: pointer;  
            transition: background-color 0.3s ease;  
        }  
  
        button:hover {  
            background-color: #0056b3; 
        }  
  
        .container {  
            text-align: center;  
            width: 100%;  
            max-width: 400px;  
        }  
  
    </style>
</head>  
<body>  
  
	<h2>欢迎开始JavaEE技术的SpringMVC实验</h2>  
	   
	<button onclick="goToLogin()">登录</button>  
	 
	<button onclick="goToRegister()">注册</button>  
  
	<script>  
	    function goToLogin() {  
	        window.location.href = 'login.html'; 
	    }  
	  
	    function goToRegister() {  
	        window.location.href = 'register.html'; 
	    }  
	</script>  
  
</body>  
</html>